import { Module, Global } from '@nestjs/common';
import { DiscoveryModule } from '@nestjs/core';
import { RedisUtilsModule } from './redis-utils/redis-utils.module';
import { InitDbService } from './services/init-db/init-db.service';
import { LoggerService } from './services/loger/logger.service';

@Global()
@Module({
  imports: [RedisUtilsModule, DiscoveryModule],
  exports: [RedisUtilsModule, LoggerService],
  providers: [InitDbService, LoggerService],
})
export class SharedModule {}
